ALMaSS  1.0
The Animal, Landscape and Man Simulation System
configurator.cpp File Reference
#include <stdio.h>
#include <iostream>
#include <fstream>
#include <stdlib.h>
#include <string.h>
#include "../BatchALMaSS/ALMaSS_Setup.h"
#include "configurator.h"
#include "maperrormsg.h"

Macros

#define _CRT_SECURE_NO_DEPRECATE
 

Functions

void FloatToDouble (double &, float)
 

Variables

class Configuratorg_cfg = NULL
 
static CfgBool l_cfg_public_warn_on_set ("CFG_PUBLIC_WARN_ON_SET", CFG_CUSTOM, true)
 
static CfgBool l_cfg_public_exit_on_set ("CFG_PUBLIC_EXIT_ON_SET", CFG_CUSTOM, true)
 
static const char * CfgSecureStrings []
 
static const char * CfgTypeStrings []
 

Macro Definition Documentation

◆ _CRT_SECURE_NO_DEPRECATE

#define _CRT_SECURE_NO_DEPRECATE

Function Documentation

◆ FloatToDouble()

void FloatToDouble ( double &  d,
float  f 
)
174  {
175  d = f;
176 }

Referenced by Configurator::SetCfgFloat().

Variable Documentation

◆ CfgSecureStrings

const char* CfgSecureStrings[]
static
Initial value:
= {
"CFG_CUSTOM",
"CFG_PUBLIC",
"CFG_PRIVATE"
}

Referenced by Configurator::DumpSymbols().

◆ CfgTypeStrings

const char* CfgTypeStrings[]
static
Initial value:
= {
"*none*",
"int",
"double",
"bool",
"string"
}

Referenced by Configurator::DumpSymbols(), and Configurator::ShowIdType().

◆ g_cfg

◆ l_cfg_public_exit_on_set

CfgBool l_cfg_public_exit_on_set("CFG_PUBLIC_EXIT_ON_SET", CFG_CUSTOM, true) ( "CFG_PUBLIC_EXIT_ON_SET"  ,
CFG_CUSTOM  ,
true   
)
static

◆ l_cfg_public_warn_on_set

CfgBool l_cfg_public_warn_on_set("CFG_PUBLIC_WARN_ON_SET", CFG_CUSTOM, true) ( "CFG_PUBLIC_WARN_ON_SET"  ,
CFG_CUSTOM  ,
true   
)
static